package org.jeecg.common.constant;

public class UserConstant {

    /** 校验返回结果码 */
    public final static String UNIQUE = "0";
    public final static String NOT_UNIQUE = "1";

    /** 是否启用 */
    public final static String ENABLE_FLAG_YES = "Y";
    public final static String ENABLE_FLAG_NO = "N";
    /** 是否合同产品 */
    public final static String IS_CONTRACT_PRODUCT_YES = "Y";
    public final static String IS_CONTRACT_PRODUCT_NO = "N";

    /** 是否 */
    public final static String SYS_YES = "Y";
    public final static String SYS_NO = "N";

    /** 项目状态码 */
    public final static String PROJECT_STATUS_PREPARE = "PREPARE";
    public static final String PROJECT_STATUS_CONFIRMED ="CONFIRMED";
    public final static String PROJECT_STATUS_FINISHED = "FINISHED";

    /** 合同状态码 */
    public final static String CONTRACT_STATUS_PREPARE = "PREPARE";
    public static final String CONTRACT_STATUS_CONFIRMED ="CONFIRMED";
    public static final String CONTRACT_STATUS_IMPORTED ="IMPORTED";
    public static final String CONTRACT_STATUS_IMPORT_CONFIRMED ="IMPORT_CONFIRMED";
    public final static String CONTRACT_STATUS_FINISHED = "FINISHED";

    /** 任务状态码 */
    public final static String TASK_STATUS_PREPARE = "PREPARE";
    public static final String TASK_STATUS_PLAN_APPROVED ="PLAN_APPROVED";    //计划审核已通过
    public static final String TASK_STATUS_TECHNOLOGY_APPROVED ="TECHNOLOGY_APPROVED";    //技术审核已通过
    public static final String TASK_STATUS_TECHNOLOGY_UNAPPROVED ="TECHNOLOGY_UNAPPROVED";//技术审核不通过
    public static final String TASK_STATUS_PRODUCE_APPROVED ="PRODUCE_APPROVED";    //生产审核已通过
    public static final String TASK_STATUS_PRODUCE_UNAPPROVED ="PRODUCE_UNAPPROVED";//生产审核不通过
    public static final String TASK_STATUS_PURCHASE_APPROVED ="PURCHASE_APPROVED";    //采购审核已通过
    public static final String TASK_STATUS_PURCHASE_UNAPPROVED ="PURCHASE_UNAPPROVED";//采购审核不通过
    public static final String TASK_STATUS_DESIGN_SUBMITED ="DESIGN_SUBMITED";
    public final static String TASK_STATUS_DESIGN_APPROVED = "DESIGN_APPROVED";
    public final static String TASK_STATUS_DESIGN_UNAPPROVED = "DESIGN_UNAPPROVED";
    public static final String TASK_STATUS_PROCESS_SUBMITED ="PROCESS_SUBMITED";
    public final static String TASK_STATUS_PROCESS_APPROVED = "PROCESS_APPROVED";
    public final static String TASK_STATUS_PROCESS_UNAPPROVED = "PROCESS_UNAPPROVED";
    public final static String TASK_STATUS_ORDERED = "ORDERED";
    public final static String TASK_STATUS_SKILL_CHANGE = "SKILL_CHANGE";
    public final static String TASK_STATUS_SKILL_CHANGE_OVER = "SKILL_CHANGE_OVER";
    public final static String TASK_STATUS_PRODUCING = "PRODUCING";
    public final static String TASK_STATUS_PRODUCED = "PRODUCED";
    public final static String TASK_STATUS_SALED = "SALED";
    public final static String TASK_STATUS_WAIT_DEBUG = "WAIT_DEBUG";
    public final static String TASK_STATUS_DEBUGING = "DEBUGING";
    public final static String TASK_STATUS_DEBUGED = "DEBUGED";
    public final static String TASK_STATUS_EXTRA_CONFIRMED = "EXTRA_CONFIRMED";
    public final static String TASK_STATUS_WAIT_PURCHASE = "WAIT_PURCHASE";
    public final static String TASK_STATUS_PURCHASED = "PURCHASED";
    public final static String TASK_STATUS_BOM_REACHED = "BOM_REACHED";//物料已到货
    public final static String TASK_STATUS_ARRIVED = "ARRIVED"; //产品到货
    public final static String TASK_STATUS_FINISHED = "FINISHED";
    public final static String TASK_STATUS_ASSIGNED = "ASSIGNED";
    public final static String TASK_STATUS_WAIT_ASSIGN = "WAIT_ASSIGN";
    public static final String TASK_STATUS_TECHNOLOGY_APPROVED_OF_SKILL ="TECHNOLOGY_APPROVED_OF_SKILL";    //技改技术审核已通过
    public static final String TASK_STATUS_TECHNOLOGY_UNAPPROVED_OF_SKILL ="TECHNOLOGY_UNAPPROVED_OF_SKILL";//技改技术审核不通过
    public static final String TASK_STATUS_DESIGN_SUBMITED_OF_SKILL ="DESIGN_SUBMITED_OF_SKILL";
    public final static String TASK_STATUS_DESIGN_APPROVED_OF_SKILL = "DESIGN_APPROVED_OF_SKILL";
    public final static String TASK_STATUS_DESIGN_UNAPPROVED_OF_SKILL = "DESIGN_UNAPPROVED_OF_SKILL";
    public static final String TASK_STATUS_PROCESS_SUBMITED_OF_SKILL ="PROCESS_SUBMITED_OF_SKILL";
    public final static String TASK_STATUS_PROCESS_UNAPPROVED_OF_SKILL = "PROCESS_UNAPPROVED_OF_SKILL";
    public final static String TASK_STATUS_PROCESS_APPROVED_OF_SKILL = "PROCESS_APPROVED_OF_SKILL";
    public static final String TASK_STATUS_PLAN_APPROVED_OF_SKILL ="PLAN_APPROVED_OF_SKILL";

    /** 任务BOM状态码 */
    public final static String TASKBOM_PREPARE = "PREPARE";
    public final static String TASKBOM_ORDERED = "ORDERED";
    public final static String TASKBOM_PURCHASED = "PURCHASED";
    public final static String TASKBOM_ARRIVED = "ARRIVED";
    public final static String TASKBOM_USED = "USED";
    public final static String TASKBOM_RETURNED = "RETURNED";
    public final static String TASKBOM_WASTED = "WASTED";

    /** 任务BOM状态码 */
    public final static String PRODUCT_SALE_STATUS_PREPARE = "PREPARE";
    public final static String PRODUCT_SALE_STATUS_ARRIVED = "ARRIVED";

    /** 任务调试状态码 */
    public final static String PRODUCT_DEBUG_STATUS_PREPARE = "PREPARE";
    public final static String PRODUCT_DEBUG_STATUS_PROGRESSING = "PROGRESSING";
    public final static String PRODUCT_DEBUG_STATUS_FINISHED = "FINISHED";

    /** 采购任务书BOM状态码 */
    public final static String PURCHASE_TASKBOOK_STATUS_PREPARE = "PREPARE";
    public final static String PURCHASE_TASKBOOK_STATUS_PURCHASED = "PURCHASED";
    public final static String PURCHASE_TASKBOOK_STATUS_ARRIVED = "ARRIVED";
    public final static String PURCHASE_TASKBOOK_STATUS_FINISHED = "FINISHED";

    /** 系统物料产品ID，不能删除 */
    public final static String FINISHED_PRODUCT = "1829779135988789249";          //产成品
    public final static String SEMI_FINISHED_PRODUCT = "1829779178720358401";     //半成品
    public final static String ITEM_PRODUCT = "1829777088690323458";              //物料
    public final static String ROOT_PRODUCT = "1829776126609260545";              //物料产品分类（根目录）
    public final static String STEEL_PRODUCT = "1830492221884424193";             //钢材类
    public final static String IRONWARE_PRODUCT = "1829779251537670145";          //五金类
    public final static String MATERIAL_PRODUCT = "1829779251537670145";          //材料
    public final static String OUT_BUY_PRODUCT = "1829779251537670145";           //外购件

    /** 产品物料标识 */
    public final static String PRODUCT_PRODUCT = "PRODUCT";//产成品
    public final static String PRODUCT_ITEM = "ITEM";      //物料

    /** 任务书类型 */
    public final static String TASKBOOK_TYPE_PRODUCE = "produce_taskbook";
    public final static String TASKBOOK_TYPE_PRODUCE_ELECTRIC = "produce_taskbook_electric";
    public final static String TASKBOOK_TYPE_DESIGN = "design_taskbook";
    public final static String TASKBOOK_TYPE_PURCHASE = "purchase_taskbook";
    public final static String TASKBOOK_TYPE_DEBUG = "debug_taskbook";
    public final static String TASKBOOK_TYPE_TECHNOLOGY = "technology_taskbook";
    public final static String TASKBOOK_TYPE_PROCESS = "process_taskbook";

    public final static String ITEM_TYPE = "item_type";
    public final static String UNIT_OF_MESSURE = "unit_of_measure";
    public final static String PROJECT_STATUS = "project_status";
    public final static String CONTRACT_STATUS = "contract_status";
    public final static String TASK_STATUS = "task_status";
    public final static String TASKBOOK_TYPE = "taskbook_type";

    /** 物料类型 */
    public final static String ITEM_TYPE_MATERIAL = "material";
    public final static String ITEM_TYPE_BUY = "buy";

    /** 任务类型 */
    public final static String TASK_TYPE_SELF = "SELF";
    public final static String TASK_TYPE_OUT = "OUT_SOURCE";
    public final static String TASK_TYPE_BUY = "OUT_BUY";
    public final static String TASK_TYPE_INSTALL_DEBUG = "INSTALL_DEBUG";
    public final static String TASK_TYPE_TECHNOLOGY_SERVICE = "TECHNOLOGY_SERVICE";
    public final static String TASK_TYPE_MATERIAL = "MATERIAL";

    /** 是否有子节点结果码 */
    public final static String HAS_CHILD_YES = "1";
    public final static String HAS_CHILD_NO = "0";

    /** 是否是根节点 */
    public final static String ANCESTOR_ZERO = "0";

    /** 审核是否通过 */
    public final static String APPROVAL_AGREE = "AGREE";
    public final static String APPROVAL_DISAGREE = "DISAGREE";

    /** 甘特图类型 */
    public final static String GANT_TYPE_PROJECT = "PROJECT";
    public final static String GANT_TYPE_CONTRACT = "CONTRACT";
    public final static String GANT_TYPE_PURCHASE_TASK = "PURCHASE_TASK";
    public final static String GANT_TYPE_DESIGN_TASK = "DESIGN_TASK";
    public final static String GANT_TYPE_DEBUG_TASK = "DEBUG_TASK";
    public final static String GANT_TYPE_TECHNOLOGY_TASK = "TECHNOLOGY_TASK";
    public final static String GANT_TYPE_PRODUCE_TASK = "PRODUCE_TASK";

    /** 任务日志 */
    public final static String TASK_LOG_TYPE_CREATE = "CREATE";
    public final static String TASK_LOG_TYPE_CONFIRM = "CONFIRM";
    public final static String TASK_LOG_TYPE_APPROVE = "APPROVE";
    public final static String TASK_LOG_TYPE_DESIGN = "DESIGN";
    public final static String TASK_LOG_TYPE_PROCESS = "PROCESS";
    public final static String TASK_LOG_TYPE_BOM_ORDER = "BOM_ORDER";
    public final static String TASK_LOG_TYPE_BOM_PURCHASE = "BOM_PURCHASE";
    public final static String TASK_LOG_TYPE_BOM_REACHED = "BOM_REACHED";
    public final static String TASK_LOG_TYPE_CONSUME = "CONSUME";
    public final static String TASK_LOG_TYPE_PRODUCE = "PRODUCE";
    public final static String TASK_LOG_TYPE_SEND = "SEND";
    public final static String TASK_LOG_TYPE_ARRIVE = "ARRIVE";
    public final static String TASK_LOG_TYPE_DEBUG = "DEBUG";
    public final static String TASK_LOG_TYPE_PLAN_FINISH = "PLAN_FINISH";

    /** 应发清单类型 */
    public final static String SEND_LIST_TYPE_SHOULD = "shouldSendList";
    public final static String SEND_LIST_TYPE_PRODUCE_PRODUCT = "produceProduceSendList";
    public final static String SEND_LIST_TYPE_PURCHASE_MATERIAL = "purchaseMaterialSendList";
    public final static String SEND_LIST_TYPE_PURCHASE_PRODUCT = "purchaseProductSendList";

    /**
     * 安装服务金蝶编码
     */
    public final static String JD_CODE_OF_INSTALL = "5.02.01.01.01.0032";

    public final static String QR_CODE_URL = "http://erp.wm-mis.com/material-scan?id=";
}
